home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
octa209b.zip
/
octave-2.09
/
PATOS2.ZIP
/
libcruft
/
makerules.os2
< prev
Wrap
Text File
|
1997-08-14
|
765b
|
36 lines
# Common rules for octave's libcruft directories.
# Modified by Klaus Gebhardt, 1994 - 1995
CFLAGS := -mprobe $(CFLAGS)
FFLAGS := -mprobe $(FFLAGS)
SOURCES = *.f
CRUFT_FSRC = $(wildcard *.f)
CRUFT_BASE = $(notdir $(CRUFT_FSRC))
CRUFT_CSRC = $(patsubst %.f, %.c, $(CRUFT_BASE))
CRUFT_OBJ = $(patsubst %.f, %.o, $(CRUFT_BASE))
CRUFT_OMF = $(patsubst %.f, %.obj, $(CRUFT_BASE))
DEP = $(CRUFT_OMF)
ifeq ($(DLLNAME),misc)
CRUFT_COBJ = dostop.obj lo-error.obj f77-fcn.obj
DLLDEP = $(patsubst d1mach.obj, , $(DEP)) d1mach.obj $(CRUFT_COBJ)
else
DLLDEP = $(DEP)
endif
all: $(CRUFT_OBJ)
omf: $(DLLDEP)
lib: ../$(DLLNAME).lib
../$(DLLNAME).lib: $(DLLDEP)
rm -f $@
emxomfar r $@ $(DLLDEP)
clean:
rm -f *.a *.lib *.o *.obj *.exe